// import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

/**
 * 全局引入vant3
 * 安装命令 npm i vant@next -S
 * 官网 https://vant-ui.github.io/vant/#/zh-CN/migrate-from-v2
 * 教程 https://blog.csdn.net/m0_53912016/article/details/123471191
**/
// 全局引入vant3样式
import 'vant/lib/index.css'
import Vant from 'vant'

// 引入 amfe-flexible
import 'amfe-flexible'

// 样式初始化文件
import '@/styles/reset.scss'

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(Vant)

app.mount('#app')
